<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <title>比价</title>
    <link rel="stylesheet" href="css/conmon.css"/>
    <link rel="stylesheet" href="css/category.css"/>
    <script src="./lib/jquery/jquery.js"></script>
    <script src="./lib/template.js"></script>
    <script src="js/category.js"></script>
</head>
<body>
<!--容器-->
<div class='mbuy'>
    <!-- header start-->
    <header class='mbuy_header'>
        <!--头部  橘黄色盒子设置-->
        <div class='mbuy_header_box'>
            <a href="#"><img src="images/header_logo.png" class="log"/></a>
            <a href="#"><img src="images/header_app.png" class="app"/></a>
        </div>
    </header>
    <!--header end-->
    <!--search start-->
    <div class='mbuy_search'>
        <!--表单-->
        <form>
            <!--输入框-->
            <input type="text" class="sousuo" placeholder="请输入你想比价的商品"/>
            <!--按钮-->
            <a href="#" class="login">搜索</a>
        </form>
    </div>
    <!--search end-->
    <!--全部分类 start-->
    <div class="briefin clearfix">
            <div class='bri_all clearfix' id="container">
            </div>
    </div>
    <!--全部分类  end-->
    <!--footer start-->
    <!--底部横条-->
    <div class="footer_txt">
        <ul>
            <li>登录</li>
            <li>注册</li>
            <li>返回顶部</li>
        </ul>
    </div>
    <div class="footer">
        <p><span class="redt">手机APP下载</span>慢慢买手机版-掌上比价平台</p>
        <p>manmanbuy cn</p>
    </div>
    <!--footer end-->
</div>
</body>
<!--模板-->
<script type="text/html" id="template3">
    {{if result}}
    {{each result as v}}
    <div class='bri-list'>
        <p>{{v.title}}</p>
        <ul class="clearfix bai hide"></ul>
    </div>
    {{/each}}
    {{/if}}
</script>
<!--模板-->
<script type="text/html" id="template4">
    {{if result}} {{each result as v}}
    <li class='bri2-list'>
        <!--拼接到下一页的url-->
        <a href="pruduct.html?categoryid={{v.categoryId}}">{{v.category}}</a>
    </li>
    {{/each}} {{/if}}
</script>
</html>